package cn.xinfei.xdecision.model;

import cn.xinfei.xdecision.common.model.datax.enums.VariableStrategyType;
import cn.xinfei.xdecision.data.model.IVariableRequest;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.Collections;
import java.util.List;
import java.util.Set;

@Data
public class PythonVarRequest implements IVariableRequest {
    private String requestId;

    private Set<String> varCodes;

    private JSONObject inputParams;


    @Override
    public List<VariableStrategyType> requestStrategys() {
        return Collections.singletonList(VariableStrategyType.PYTHON);
    }

    @Override
    public String requestId() {
        return requestId;
    }

    @Override
    public Set<String> varCodes() {
        return varCodes;
    }

    @Override
    public JSONObject inputParams() {
        return inputParams;
    }
}
